//
//  WYPopMediaView.m
//  CirclePush
//
//  Created by admin on 2018/5/21.
//  Copyright © 2018年 admin. All rights reserved.
//

#import "WYPopMediaView.h"

@interface WYPopMediaView()

//@property (strong, nonatomic) IBOutlet UITextField *userEmail;
@property (strong, nonatomic) IBOutlet UITextField *userMobile;
@property (strong, nonatomic) IBOutlet UITextField *userEmail;
@property (strong, nonatomic) IBOutlet UIButton *sureBtn;


@end

@implementation WYPopMediaView
+(instancetype)getPopView
{
    return [[NSBundle mainBundle]loadNibNamed:@"WYPopMediaView" owner:nil options:nil].firstObject;
    
}
- (IBAction)deleteAction:(id)sender {
    if (self.complete) {
        self.complete(0, nil, nil, nil);
    }
    //[self.sureBtn setCornerRadius:1.0];
    
}

- (IBAction)sureAction:(id)sender {
    if (self.complete) {
        self.complete(1, self.userName.text, self.userMobile.text, self.userEmail.text);
    }
}


@end
